﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.UpVideoModel
{
    /// <summary>
    /// 文件切片表单
    /// </summary>
    public class UploadVideoFileChunkForm
    {
        [Required, Range(1, int.MaxValue)]
        public int Index { get; set; }
        /// <summary>
        /// 切片的md5
        /// </summary>
        [Required]
        public string Md5 { get; set; } = null!;
        /// <summary>
        /// 切片所属影片的MD5
        /// </summary>
        [Required]
        public string VideoMd5 { get; set; }=null!;
        [Required]
        public string FormMd5 { get; set; }=null!;
    }
}
